//登录事件
$("#login").click(function(){
    $(".loginPage").css({display:"block"})  
    $(document).on("scroll.a",function(){
        $(".loginPage").css({height:$(document.body).height()})  
    })
})
$(".loginPage").click(function(){
    $(".loginPage").css("display","none")  
    $(document).off("scroll.a")
})
$(".newlogin").click(function(){
   event.stopPropagation()
})
let imgs = [
    {"src":"https://img2.epetbar.com/2021-11/09/21/65f640d9a7bf54233947ef17c0e3eeac.jpg?x-oss-process=style/water"},{"src":"https://img2.epetbar.com/2021-11/09/21/c52ce66394a4845e8ebf99d134651343.jpg?x-oss-process=style/water"},{"src":"https://img2.epetbar.com/2021-11/09/21/10999d4464eca5cff33eb5a6a94d37a4.jpg?x-oss-process=style/water"},{"src":"https://img2.epetbar.com/2021-11/09/21/92e15a93757c9ffad8042ba42fbc7227.jpg?x-oss-process=style/water"},{"src":"https://img2.epetbar.com/2021-11/09/21/8ed4bc51d20b88911eb21703a5d2b82b.jpg?x-oss-process=style/water"},{"src":"https://img2.epetbar.com/2021-11/09/21/e73b8437556152a3d0d22dc6fec140d2.jpg?x-oss-process=style/water"}
]
$(".banners").banner(imgs,{
    btns:false
})